package com.learner.pojo.media;

import lombok.Data;
import lombok.ToString;
import org.springframework.data.mongodb.core.mapping.Document;

import javax.persistence.Id;

@Data
@ToString
@Document(collection = "video")
public class Video {
    @Id
    private String id;

    //    源视频id
    private String videoSourceId;
    private String videoOriginalName;
    //    视频时长
    private String title;

    private Long size;
    //    视频大小
    private String fileType;
}
